<div class="t">
  <table id="items_tb" class='items'>
    <tr>
      <th></th>
      <th>型号</th>
      <th>名称</th>
      <th>规格</th>
      <th>颜色</th>
      <th>数量</th>
      <th>金额</th>
      <th colspan='2'>最新进展</th>
    </tr>
    <% order.order_items.each_with_index do |order_item, index| %>
    <tr id="tr_<%= order_item.id %>" class="<%= cycle 'h','', :name => 'order_item' %>">
      <%= render :partial => 'orders/order_items/detail_in_index.html', :locals => { :order => order, :order_item => order_item, :index => index, :can_edit => can_edit } %>
    </tr>
    <% if order_item.remark.present? %>
    <tr class="<%= current_cycle 'order_item' %>">
      <td colspan="9" class="remark">
        <b>备注:</b><%= order_item.remark %>
      </td>
    </tr>
    <% end %>
    <tr id='item_feeds_<%= order_item.id %>' class='feeds <%= current_cycle 'order_item' %>'>
      <td colspan='9' id="td_order_item_feed_<%=order_item.id%>" class="td_order_item_feed_top"></td>
    </tr>    
    <% end %>
  </table>
</div>
